Diagnosis result generation system and method

ABSTRACT

A system and a method that output in both a machine-readable and a human-readable format, a result obtained by performing a diagnosis of a disease through an image of living tissue. A diagnosis result generation system includes a marking information generation module for generating marking information indicating a result obtained by diagnosing whether a disease is present in biological tissue provided on a slide of which a biological image is obtained therefrom, wherein the marking information includes disease state information for each pixel of the biometric image obtained from the slide; a contour extraction module for extracting at least one contour from the marking information; and a machine-readable/human-readable generation module for generating a machine-readable/human-readable document including outline information of each of the at least one extracted contour.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a National Stage Entry of International Application No. PCT/KR2019/009845, filed on Aug. 7, 2019, and claims priority from and the benefit of Korean Patent Application No. 10-2018-0092030, filed on Aug. 7, 2018, each of which is hereby incorporated by reference for all purposes as if fully set forth herein.

TECHNICAL FIELD

The present invention relates to a diagnosis result generation system and a method thereof. More specifically, the present invention relates to a system and a method thereof, which can output a result of diagnosing a disease through an image of a biological tissue in a form that can be understood by both machines and humans.

DISCUSSION OF THE BACKGROUND

The above information disclosed in this Background section is only for understanding of the background of the inventive concepts, and, therefore, it may contain information that does not constitute prior art.

One of major tasks performed by pathology or a pathology department is to read a patient's biometric image and perform diagnosis for determining a state or symptom of a specific disease. Performing such a diagnosis like this requires a method that depends on the experience and knowledge of medical personnel skilled for an extended period of time.

Recently, attempts of automating the tasks such as recognizing or classifying images using a computer system have been made owing to advancement in machine learning. Particularly, attempts have been made to automate diagnosis performed by skilled medical personnel using a neural network (e.g., a deep learning method using a convolution neural network (CNN)), which is a kind of machine learning.

Particularly, diagnosis through deep learning using a neural network (e.g., CNN) sometimes finds out characteristics of disease factors unknown to experienced medical personnel from an image in that it does not simply automate the experience and knowledge of the experienced medical personnel, but finds out characteristic factors through self-learning and derives a desired answer.

Generally, diagnosis of a disease through a neural network using a biometric image uses a piece of biometric image, i.e., a patch (or also referred to as a tile) obtained from biological tissue provided on a slide. That is, a skilled medical practitioner annotates the state of a specific disease (e.g., whether cancer is expressed) with regard to a corresponding tile, and trains the neural network using a plurality of annotated tiles as training data. In this case, a convolution neural network may be used as the neural network.

However, in this method, the trained neural network determines the state of a disease of a corresponding tile on the basis of image features of the tile. In practice, when the state of a specific biological tissue is determined for a specific disease, there are cases in which even the current state of the tissues around a specific biological tissue (e.g., the shape, whether a specific pattern exists, etc.) should be considered, in addition to the specific biological tissue itself. However, there is a problem in that the conventional method is not suitable in this case.

Meanwhile, in the conventional learning method, the color itself of a biometric image or a patch is input as an input data. That is, in general, an input data defined by three channel values of Red, Green and Blue (RGB) is used as it is. However, in this case, the color of a tissue being dyed may be different according to the characteristics of a dyeing reagent used for dyeing a biological tissue corresponding to the biometric image, and this may directly affect a trained neural network. Accordingly, a neural network needs to be trained in a manner more robust to non-fundamental color features according to dyeing or the like, which are not the fundamental image features of a tissue.

In addition, when whether a disease is expressed is determined for each patch according to a result of diagnosis by the patch unit and the diagnosis result of patch unit is visualized immediately, there may be a problem in that parts other than the tissue are visualized in practice. Accordingly, a visualization method may be needed to clearly identify a part of tissue diagnosed as a disease.

On the other hand, in order to easily manage a result of diagnosis or share the result with other associated systems after performing diagnosis on a biological tissue image, it needs to configure the diagnosis result in an appropriate method and format.It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are intended to provide further explanation of the invention as claimed.

SUMMARY

Therefore, the present invention has been made in view of the above problems, and an aspect of the invention to provides a diagnosis system using a neural network and a method thereof, which can further increase accuracy by using even surrounding tiles, as well as a specific tile, for learning in order to determine a state of disease of the specific tile (e.g., whether or not a disease is expressed, or an index indicating the state of a disease).

In addition, another aspect of the invention provides a diagnosis system using a neural network and a method thereof, which may have a characteristic robust to color, not the image features fundamental to diagnosing whether or not a disease is expressed.

In addition, another aspect of the invention provides a visualization method for clearly identifying a tissue part where a disease is expressed, and a diagnosis system using a neural network, which can perform the method.

Another aspect of the invention provides a system and a method thereof, which can output a result of diagnosing a disease through an image of a biological tissue in a form that can be understood by both machines and humans.

To accomplish the above aspects, according to one embodiment of the invention, there is provided a diagnosis result generation system that includes: a marking information generation module configured to generate marking information expressing a result of diagnosing whether a disease exists in biological tissue provided on a slide of which a biometric image is obtained therefrom, wherein the marking information includes disease state information of each pixel of the biometric image provided on the slide; a contour extraction module configured to extract at least one contour from the marking information; and a machine-readable/human-readable generation module configured to generate a machine-readable/human-readable document including outer line information of each of the at least one extracted contour.

In an embodiment, the disease state information may include normal, Gleason pattern 3, Gleason pattern 4, and Gleason pattern 5.

In an embodiment, the machine-readable/human-readable document may further include disease state information of each of the extracted at least one contour.

In an embodiment, the disease may be prostate cancer.

In an embodiment, the diagnosis result generation system further includes a diagnosis system configured to output a result of diagnosing whether a disease exists using the biometric image obtained from the slide and the neural network, and the marking information generation module may generate the marking information on the basis of the diagnosis result output from the diagnosis system.

In an embodiment, the diagnosis system may include: a patch neural network configured to generate a patch-level diagnosis result indicating whether a disease exists in each of predetermined patches generated by dividing the biometric image obtained from the slide in a predetermined size; a heatmap generation module configured to generate a patch-level heatmap image corresponding to the biometric image obtained from the slide on the basis of the patch-level diagnosis result of each of a plurality of patches included in the slide; a tissue mask generation module configured to generate a tissue mask image corresponding to the biometric image obtained from the biometric image obtained from the slide on the basis of a Hue-Saturation-Value (HSV) model corresponding to the biometric image obtained from the slide; and a diagnosis result visualization module configured to generate a diagnosis result of the biometric image obtained from the slide on the basis of the patch-level heatmap image and the tissue mask image.

In an embodiment, the tissue mask generation module may generate a first binarization result by performing image binarization for an S space corresponding to the slide (wherein, the S space corresponding to the slide is a space of saturation values of an HSV model corresponding to the slide), generate a second binarization result by performing image binarization for a 1-V space corresponding to the slide (here, the V space corresponding to the slide is a space of brightness values of an HSV model corresponding to the slide), and generate a tissue mask image corresponding to the biometric image obtained from the slide on the basis of the first binarization result and the second binarization result.

In an embodiment, the diagnosis result visualization module may generate a disease diagnosis visualization image corresponding to the biometric image obtained from the slide by applying a conditional random field to the patch-level heatmap image and the tissue mask image.

According to another aspect of the present invention, there is provided a diagnosis result generation method including: a marking information generation step of generating marking information expressing a result of diagnosing whether a disease exists in biological tissue provided on a slide, of which a biometric image is obtained from the biological tissue, wherein the marking information includes disease state information of each pixel of the biometric image obtained from the slide; a contour extraction step of extracting at least one contour from the marking information; and a machine-readable/human-readable generation step of generating an machine-readable/human-readable document including outer line information of each of the at least one extracted contour.

In an embodiment, the diagnosis result generation method may further include a diagnosis step of outputting a result of diagnosing whether a disease exists using the biometric image obtained from the slide and the neural network, wherein the marking information generation step may include the step of generating the marking information on the basis of a diagnosis result output from the diagnosis system.

In an embodiment, the diagnosis step may include: a patch-level diagnosis step of generating a patch-level diagnosis result indicating whether a disease exists in each of predetermined patches generated by dividing the biometric image obtained from the slide in a predetermined size using a neural network; a heatmap generation step of generating a patch-level heatmap image corresponding to the biometric image obtained from the slide on the basis of a patch-level diagnosis result of each of a plurality of patches included in the slide; a tissue mask generation step of generating a tissue mask image corresponding to the biometric image obtained from the slide on the basis of a Hue-Saturation-Value (HSV) model corresponding to the slide; and a diagnosis result visualization step of generating a diagnosis result of the biometric image obtained from the slide on the basis of the patch-level heatmap image and the tissue mask image.

In an embodiment, the tissue mask generation step may include the steps of:

generating a first binarization result by performing image binarization for an S space corresponding to the slide (wherein, the S space corresponding to the slide is a space of saturation values of an HSV model corresponding to the slide); generating a second binarization result by performing image binarization for a 1-V space corresponding to the slide wherein, the V space corresponding to the slide is a space of brightness values of an HSV model corresponding to the slide); and generating a tissue mask image corresponding to the biometric image obtained from the slide on the basis of the first binarization result and the second binarization result.

In an embodiment, the diagnosis result visualization step may generate a disease diagnosis visualization image corresponding to the biometric image obtained from the slide by applying a conditional random field to the patch-level heatmap image and the tissue mask image.

According to another aspect of the invention, there is provided a computer program installed in a data processing device and recorded in a medium for performing the method described above.

According to one or more embodiments of the invention, since there is provided a neural network which can determine a disease state of a specific patch considering a macro patch including the specific patch and further including surrounding patches while performing diagnosis on the specific patch, there is an effect of providing a higher diagnosis accuracy.

According to one or more embodiments of the invention, as a gray channel, as well as an input data, i.e., the original color value of a patch (e.g., RGB 3 channel values), is additionally used as an input data, there is an effect of having a characteristic robust to variations according to various factors of color, not the image features fundamental to diagnosing whether a disease is expressed, while preventing a situation of ignoring image features related to a disease expressed by a color difference that may occur when only the gray channel is simply used.

In addition, according to one or more embodiments of the invention, there is an effect of separately visualizing only a tissue part within a patch determined as expressing a disease.

According to one or more embodiments of the invention, a result of diagnosing a disease through an image of a biological tissue may be output in a form that can be understood by both machines and humans.

BRIEF DESCRIPTION OF THE DRAWINGS

To more sufficiently understand the drawings cited in the detailed description of the present invention, a brief description of each drawing is provided.

FIG. 1 is a view showing a schematic system configuration of a diagnosis result generation system constructed according to principles of the invention.

FIG. 2A is a view showing a logical configuration of a diagnosis result generation system according to an embodiment.

FIG. 2B is a view showing a logical configuration of a disease diagnosis system using a neural network according to an embodiment.

FIG. 3 is a view showing a hardware configuration of a diagnosis result generation system according to an embodiment.

FIG. 4A is a view showing an image in which disease areas are annotated on a slide.

FIG. 4B is a view showing an example of an XML document generated by a diagnosis result generation system according to an embodiment.

FIG. 5A and FIG. 5B are views showing exemplary configurations of a neural network according to embodiments of the present invention.

FIG. 6 is a view showing an exemplary configuration of a neural network according to another embodiment.

FIG. 7A is a view showing an example of a slide.

FIG. 7B is a view showing an example of a heatmap for the slide of FIG. 7 a.

FIG. 7C is a view showing an example of a tissue mask image for the slide of FIG. 7A.

FIG. 7D is a view showing an example of an image as a result of visualizing a part diagnosed as a disease.

DETAILED DESCRIPTION

As the present invention may apply various modifications and have various embodiments, specific embodiments will be illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the present invention to the specific embodiments, and it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention. In describing the present invention, when it is determined that detailed description of a related known technology may obscure the subject matter of the present invention, the detailed description will be omitted.

Although the terms such as first, second and the like may be used to describe various components, the components should not be limited by the terms. These terms are only used for the purpose of distinguishing one component from the other components.

The terms used in the present application are only used to describe specific embodiments, and are not intended to limit the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise.

In this specification, the terms such as “comprise” or “have” are intended to designate the presence of features, numbers, steps, actions, components, parts, or combinations thereof described in the specification, and it should be understood that they do not preclude the possibility of the presence or addition of one or more other features or numbers, steps, actions, components, parts, or combinations thereof.

In addition, in this specification, when any one component ‘transmits’ data to another component, this means that the component may directly transmit the data to another component, or may transmit the data to another component through at least one other component.

On the contrary, when one component ‘directly transmits’ data to another component, it means that the data is transmitted from the component to another component without passing through the other components.

Hereinafter, the present invention will be described in detail focusing on the embodiments of the present invention with reference to the accompanying drawings. The same reference numerals in each drawing indicate the same members.

A diagnosis result generation method according to the spirit of the present invention may be performed by a diagnosis result generation system.

FIG. 1 is a view showing a schematic system configuration of a diagnosis result generation system constructed according to principles of the invention.

Referring to FIG. 1, a diagnosis result generation system 100 constructed according to principles of the invention may be installed in a predetermined server 10 to implement one or more embodiments of the invention. The server 10 corresponds to a data processing device having a computing ability for implementing one or more embodiments of the invention, and those skilled in the art may easily infer that any device capable of performing a specific service such as a personal computer, a portable terminal or the like, as well as a data processing device that can be generally accessed by a client through a network, may be defined as a server.

The server 10 may include a processor 11 and a storage device 12 as shown in FIG. 3. The processor 11 may correspond to a computing device capable of driving a program 12-1 for implementing one or more embodiments of the invention, and the processor 11 may generate a diagnosis result of a specific disease (e.g., prostate cancer). The diagnosis result may include information on a specific disease area and/or information on a disease state of each area (e.g., information on how much the disease has progressed, etc.) when a disease exists in a slide, which is a biological tissue image.

In addition, the processor 11 may perform diagnosis using the program 12-1 and a neural network 12-2. The neural network 12-2 may include a patch neural network that performs patch-level diagnosis as described below.

The storage device 12 may correspond to a data storage unit capable of storing the program 12-1 and the neural network 12-2, and may be implemented as a plurality of storage units according to implementation examples. In addition, the storage device 12 may correspond to a temporary storage device or a memory that may be included in the processor 11, as well as a main memory device or the like included in the server 10.

Although it is shown in FIG. 1 or 3 that the diagnosis result generation system 100 is implemented as any one physical device, those skilled in the art may easily infer that the diagnosis result generation system 100 according to one or more embodiments of the invention may be implemented by organically combining a plurality of physical devices as needed.

When it is described in this specification that the diagnosis result generation system 100 generates a diagnosis result, this may denote a series of processes for generating a document of an electronic form including marking information on a part diagnosed as a disease. Particularly, the diagnosis result generation system 100 may generate an XML (eXtensible Markup Language) type document including marking information expressing a diagnosis result. The XML document is a document encoded in a format that can be recognized by both humans and machines (computers), and may be implemented in a way standardized by the World Wide Web Consortium (WWWC).

In an embodiment, the diagnosis result generation system 100 may generate an XML document using a result of annotating a part that is determined as a disease by performing diagnosis on a biometric image obtained from biological tissue provided on a slide, by a human or other system. That is, the diagnosis itself of a disease is performed by a human or other system, and only a function of outputting a result in the form of an XML document may be performed by the diagnosis result generation system 100.

Meanwhile, in another embodiment, the diagnosis result generation system 100 may directly diagnose a disease through a slide, and output a diagnosis result in the form of an XML document.

When the diagnosis result generation system 100 directly performs diagnosis, the diagnosis result generation system 100 may perform a series of processes of receiving a biometric image expressing a biological tissue, i.e., the entire slide or a patch that is a part of the slide, and outputting an output data defined in this specification, and this will be described below.

When the diagnosis result generation system 100 is implemented to be included in a predetermined server 10, the diagnosis result generation system 100 may perform communication with at least one client (e.g., 20, 20-1) accessible to the server 10. In this case, the client (e.g., 20, 20-1) may transmit a biometric image to the diagnosis result generation system 100, and the diagnosis result generation system 100 may perform diagnosis on the transmitted biometric image according to the spirit of the present invention. In addition, the diagnosis result generation system 100 may transmit a diagnosis result to the client (e.g., 20, 20-1).

FIG. 2A is a view showing a logical configuration of a diagnosis result generation system according to an embodiment of the invention.

Referring to FIG. 2A, the diagnosis result generation system 100 may include a marking information generation module 110, a contour extraction module 120, and an XML generation module 130. According to embodiments, the diagnosis result generation system 100 may further include a diagnosis system 300. According to embodiments of the invention, some components among the components described above may not necessarily correspond to the components essential to implementation of embodiments of the invention, and in addition, it goes without saying that the diagnosis result generation system 100 may include more components according to embodiments. For example, the diagnosis result generation system 100 may further include a communication module (not shown) for communicating with the client (e.g., 20, 20-1).

The diagnosis result generation system 100 may denote a logical configuration provided with hardware resources and/or software needed to implement one or more embodiments of the invention, and does not necessarily denote a physical component or a device. That is, the diagnosis result generation system 100 may denote a logical combination of hardware and/or software provided to implement the embodiments described herein, and may be implemented as a set of logical components installed in devices separated from each other when needed to perform their functions to implement one or more embodiments of the invention. In addition, the diagnosis result generation system 100 may denote a set of components separately implemented for each function or role for implementing one or more embodiments of the deninvention. For example, the marking information generation module 110, the contour extraction module 120, the XML generation module 130 and/or the diagnosis system 300 may be located in different physical devices, or may be located in the same physical device. In addition, according to implementation examples, combinations of software and/or hardware configuring each of the marking information generation module 110, the contour extraction module 120, the XML generation module 130 and/or the diagnosis system 300 may also be located in different physical devices, and components located in different physical devices may be organically combined with each other to implement each of the modules.

In addition, in this specification, a module may denote a functional or structural combination of hardware for performing one or more embodiments of the invention and software for driving the hardware. For example, those skilled in the art may easily infer that the module may denote a predetermined code and a logical unit of hardware resources for executing the predetermined code, and does not necessarily denote a physically connected code or a single type of hardware.

The marking information generation module 110 may generate marking information expressing a result of diagnosing whether a disease exists in a slide, which is a biometric image. At this point, the marking information may include disease state information of each pixel of the slide.

For example, when a slide is configured of N*M pixels, marking information corresponding to the slide is an N*M matrix form, and each value of the matrix may have state information of a pixel corresponding thereto.

Meanwhile, the disease state may include normal, Gleason pattern 3, Gleason pattern 4, and Gleason pattern 5, and the marking information may have a value corresponding to a specific state. For example, each disease state information included in the marking information may be 0 when a corresponding pixel is normal, 1 when a corresponding pixel is Gleason pattern 3, 2 when a corresponding pixel is Gleason pattern 4, and 3 when a corresponding pixel is Gleason pattern 5.

FIG. 4A is a view showing an image in which disease areas are annotated on a slide. As shown in FIG. 4A, a disease area may be annotated with a specific color according to a disease state. The marking information generation module 110 may generate marking information by setting a value of marking information corresponding to each pixel belonging to the annotated area to a value corresponding to a disease state of the corresponding pixel.

The contour extraction module 120 may extract at least one contour from the marking information. A contour may be extracted for each individual area annotated as a disease on the slide.

Meanwhile, the XML generation module 130 may generate an XML document containing a diagnosis result of the slide (more specifically, a result annotated as a disease area).

The generated XML document may include outer line information of each of the at least one contour extracted by the contour extraction module 120. In addition, the XML document may further include disease state information of each of the extracted at least one contour.

FIG. 4B is a view showing an example of a generated XML document. In the embodiment as shown in FIG. 4B, each annotation area may be distinguished by a tag called <Annotation>, and disease state information of a corresponding area may be designated to a parameter called class. Meanwhile, the dots constituting the outer line of a contour corresponding to a corresponding annotation area may be stored through at least one <Coordinate>tag.

As described above, according to the spirit of the present invention, a diagnosis result of a slide may be classified for each annotated area and generated in the form of XML based on a standardized format. Since an XML document is a document of a form that can be recognized by both humans and machines, other diagnosticians may easily grasp a diagnosis result through the document, and there is an effect of easily sharing the diagnosis result with other systems.

Meanwhile, as described above, the diagnosis result generation system 100 according to an embodiment of the invention may directly diagnose a disease. To this end, the diagnosis result generation system 100 may further include a diagnosis system 300 for performing diagnosis using a neural network, and hereinafter, the diagnosis system 300 will be described in detail.

According to an embodiment of the invention, the diagnosis system 300 may perform patch-level diagnosis. The patch-level diagnosis may denote dividing the slide into patches and diagnosing whether or not a disease is expressed in the divided patches. Accordingly, the diagnosis system 300 may receive an input for each patch of the slide and output whether or not a disease is expressed in a corresponding patch. It goes without saying that a neural network may be trained and implemented for this purpose.

Meanwhile, according to one or more embodiments of the invention, the neural network performing the patch-level diagnosis may perform diagnosis by further considering surrounding patches of a corresponding patch, rather than performing diagnosis using only the corresponding patch. Such neural network performing like this has been disclosed in detail in the Korean patent application filed by the applicant of the present invention (application number 10-2016-0168176, a system and method for diagnosing disease using a neural network, hereinafter referred to as ‘previous application’). Through the previous application, accuracy of diagnosis may be improved when the surrounding areas are considered together, rather than when the diagnosis is performed considering only a very narrow area, i.e., an area corresponding to the patch. Furthermore, according to one or more embodiments of the invention, there is an effect of more accurately determining whether a disease exists in the slide by further considering physical characteristics such as the location, density, and cluster size of patches in the entire slide, in addition to those of surrounding patches of a specific patch. The previous application is included as a reference of the present invention, and contents thereof may be regarded as being described in this specification.

Meanwhile, the state information (disease state information) output by the patch-level diagnosis may be information indicating a probability of whether a specific disease (e.g., cancer of a specific type) is expressed in a tissue corresponding to the patch. When a probability of greater than or equal to a specific reference value (threshold value) appears, the diagnosis system 300 may determine the patch as a patch in which a disease (e.g., prostate cancer) is expressed.

Of course, the diagnosis system 300 may provide information indicating a degree of progression of a specific disease (or a probability corresponding to the degree of progression), as well as whether or not a specific disease is expressed, as disclosed in the previous application.

For example, when one or more embodiments of the invention is used for diagnosis of prostate cancer, the Gleason Pattern or Gleason Score, which are indexes indicating a degree of progression of prostate cancer, may be included in the disease state information output from the neural network. For example, the Gleason score has a value of 2 to 5, and a larger number indicates a higher degree of expression of the prostate cancer. Accordingly, the state information may mean a probability that a biological tissue corresponding to a patch to be diagnosed corresponds to a specific value (e.g., 3, 4 or 5) of the Gleason score.

There may be a plurality of state information that are used in one or more embodiments. For example, first state information may indicate a probability of the Gleason score for being 3, second state information may indicate a probability of the Gleason score for being 4, and third state information may indicate a probability of the Gleason score for being 5, and all state channels corresponding to the first state information, the second state information, and the third state information may be defined in an output layer. According to implementations, state information indicating a probability that the Gleason score has a predetermined range (e.g., 3 to 5, 4 to 5, etc.) may be defined. That is, one piece of state information may correspond to a plurality of indexes expressing a state of progression of a disease.

In this case, the neural network may determine that the patch is a disease patch, i.e., a disease-expressed patch, when the state information having a Gleason score of 3 or more is equal to or greater than a predetermined threshold value.

Meanwhile, the threshold value used by the neural network may be set variously. According to embodiments, a plurality of threshold values may be used. It goes without saying that a specific patch may be determined as a disease-expressed patch, i.e., a disease patch, or a normal patch according to the threshold value.

According to one or more embodiments of the invention, there may be a plurality of threshold values used by the neural network, and in this case, a disease patch diagnosed according to each of the plurality of threshold values may vary.

Meanwhile, the diagnosis system 300 may perform visualization or annotation on a result of the performed patch-level diagnosis. As described herein, visualization of a diagnosis result may denote giving a predetermined visual effect to a part determined as a disease as a result of a diagnosis. The visual effect may denote an effect that can be perceived by sight. For example, a part determined as a disease by visualization may be expressed or emphasized in a different color.

The diagnosis system 300 may perform patch-level diagnosis using a neural network according to one or more embodiments of the invention. Of course, a process of training the neural network may be performed first to perform the diagnosis.

Accordingly, the diagnosis system 300 may be a system that receives a neural network trained according to one or more embodiments of the invention and a program for performing diagnosis using the neural network from the outside and performs diagnosis, or it may be a system that performs even the training. In addition, the diagnosis system 300 may be implemented as a dedicated device manufactured to implement one or more embodiments of the invention, not a general-purpose data processing device. In this case, a means for scanning biometric images may be further provided.

As disclosed in the previous application, the neural network may have a characteristic of performing diagnosis on a specific patch considering not only an image of the specific patch itself to perform diagnosis on the specific patch, but also considering even an image of at least one adjacent patch of the specific patch. Through such a system like this, there is an effect of improving accuracy to a very meaningful level in diagnosing a disease that should consider not only the biological tissue but also the state of surrounding tissues of the biological tissue to actually diagnose a biological tissue corresponding to a specific patch. In addition, when a biometric image is divided into a plurality of patches, there is a strong effect on the influence of a diagnosis result that may occur depending on the method of dividing patches or the location of a divided area in the biological tissue.

Of course, as described above, the neural network may not have the features disclosed in the previous application, and in any case, the neural network may be a neural network that is trained to perform diagnosis for each patch.

At this point, unlike what is described in the previous application, the neural network may further receive an additional channel as an input value for each of pixels included in the patch. The additional channel may be a gray value of each pixel. Accordingly, the neural network may further receive a gray channel, which is an additional channel, as an input in addition to 3 channels of original values (e.g., RGB) of the pixels included in the patch while receiving an input for each patch.

In this case, it may have a strong effect when the color of a biometric image changes due to a factor (e.g., characteristics of a diagnosis institution, dyeing reagent, etc.) unrelated to image features related to a disease. Of course, there may be a problem in that such important information is not reflected in learning when image features related to a disease are reflected in color and displayed, which may occur when only the gray channel is used rather than simply using an original value, and this problem may be solved.

The neural network used by the diagnosis system 300 according to one or more embodiments of the invention may include a micro neural network and a macro neural network.

The micro neural network may denote a network that performs learning using a specific tile and performs a series of processes for performing diagnosis on the tile using the image features of the tile itself.

The macro neural network may denote a network that performs learning using not only the tile but also a macro tile including the tile and at least one adjacent tile of the tile, and performs a series of processes for performing diagnosis on the tile using image features of the entire macro tile.

Therefore, the neural network according to one or more embodiments of the invention may have a characteristic of performing diagnosis on a specific tile considering not only an image of the specific tile itself to perform diagnosis on the specific tile, but also considering even an image of at least one adjacent tile of the specific tile. Through the use of a neural network like this, there is an effect of improving accuracy to a very meaningful level in diagnosing a disease that should consider not only the biological tissue but also the state of surrounding tissues of the biological tissue to actually diagnose a biological tissue corresponding to a specific tile. In addition, when a biometric image is divided into a plurality of tiles, there is a strong effect on the influence of a diagnosis result that may occur depending on the method of dividing tiles or the location of a divided area in the biological tissue.

The diagnosis system 300 for implementing one or more embodiments may have a configuration logically the same as shown in FIG. 2B.

FIG. 2B is a view showing a logical configuration of a diagnosis system 300 diagnosing a disease using a neural network according to an embodiment of the invention.

Referring to FIG. 2B, the diagnosis system 300 may include a control module 310, a neural network module 320 in which a neural network is stored, a preprocessing module 330, a heatmap generation module 340, a tissue mask generation module 350, and a diagnosis result visualization module 360. According to one or more embodiments of the invention, some components among the components described above may not necessarily correspond to the components essential to implementation of the present invention, and in addition, it goes without saying that the diagnosis system 200 may include more components according to embodiments.

The diagnosis system 300 may denote a logical configuration provided with hardware resources and/or software needed to implement one or more embodiments of the invention, and does not necessarily mean a physical component or a device. That is, the diagnosis system 300 may denote a logical combination of hardware and/or software provided to implement one or more embodiments of the invention, and may be implemented as a set of logical components if needed by being installed in the devices separated from each other and performing their functions to implement one or more embodiments of the invention. In addition, the diagnosis system 300 may denote a set of components separately implemented for each function or role for implementing one or more embodiments of the invention. For example, the control module 310, the neural network module 320, the preprocessing module 330, the heatmap generation module 340, the tissue mask generation module 350 and/or the diagnosis result visualization module 360 may be located on different physical devices, or may be located on the same physical device. In addition, according to implementation examples, combinations of software and/or hardware configuring each of the control module 310, the neural network module 320, the preprocessing module 330, the heatmap generation module 340, the tissue mask generation module 350, and/or the diagnosis result visualization module 360 may also be located in different physical devices, and components located in different physical devices may be organically combined with each other to implement each of the modules.

The control module 310 may control the functions and/or resources of the other components (e.g., the neural network module 320, the preprocessing module 330, the heatmap generation module 340, the tissue mask generation module 350, the diagnosis result visualization module 360, etc.) included in the diagnosis system 300.

The control module 310 may perform patch-level diagnosis according to one or more embodiments of the invention by using the neural network stored in the neural network module 320. As described above, the patch-level diagnosis may be implemented through a deep learning-based neural network according to the spirit of the present invention as described above. That is, under the control of the control module 310, the neural network may generate a patch-level diagnosis result indicating whether a disease exists in each of predetermined patches generated by dividing the slide in a predetermined size.

The neural network may denote a set of information expressing a series of design items defining the neural network. In this specification, the neural network may be a convolution neural network.

As is well known in the art, the convolution neural network may include an input layer, a plurality of hidden layers, and an output layer. Each of the plurality of hidden layers may include a convolution layer and a pooling layer (or sub-sampling layer).

The convolution neural network may be defined by functions, filters, strides, weighting factors or the like for defining each of these layers. In addition, the output layer may be defined as a fully connected feedforward layer.

The design details of each layer constituting the convolution neural network are widely known in the art. For example, known functions or functions separately defined to implement one or more embodiments of the invention may be used for the number of layers to be included in the plurality of layers and for each of a convolution function, a pooling function, and an activation function for defining the plurality of layers.

According to an embodiment of the invention, the neural network performing patch-level diagnosis uses a known densenet, and at this point, it may be designed to consider neighboring patches, as well as a specific patch to be diagnosed, as is disclosed in the previous application. In addition, various neural networks may be used, and in any case, the neural network may be defined to receive a specific patch as an input and output a feature value corresponding to a disease occurrence probability of the specific patch.

The control module 310 may receive an input data, i.e., input of each patch, for the neural network stored in the neural network module 320, i.e., a trained neural network. In this case, as described above, a value obtained by adding a gray channel value to the original value may be input. It goes without saying that the gray channel value may be obtained by converting a pixel value into a gray value. In addition, an output data, i.e., a feature value corresponding to the disease occurrence probability corresponding to the patch, may be output by performing operations defined by the neural network. In addition, according to embodiments, a corresponding patch may output whether a disease occurs according to whether the feature value is a predetermined threshold value for the slide-level diagnosis described below.

The neural network module 320 may store a neural network. The neural network may denote a set of information expressing a series of design items defining the neural network. In one or more embodiments, the neural network may be a convolution neural network.

As is well known in the art, the convolution neural network may include an input layer, a plurality of hidden layers, and an output layer. Each of the plurality of hidden layers may include a convolution layer and a pooling layer (or sub-sampling layer).

The convolution neural network may be defined by functions, filters, strides, weighting factors or the like for defining each of these layers. In addition, the output layer may be defined as a fully connected feedforward layer.

The design details of each layer constituting the convolution neural network are widely known. For example, known functions or functions separately defined to implement one or more embodiments of the invention may be used for the number of layers to be included in the plurality of layers and for each of a convolution function, a pooling function, and an activation function for defining the plurality of layers.

An example of the convolution function is a discrete convolution sum. As an example of the pooling function, max pooling, average pooling, or the like may be used. An example of the activation function may be a sigmoid, a tangent hyperbolic (tanh), a rectified linear unit (ReLU), or the like.

When the design items of the convolution neural network are defined, the convolution neural network of which the design items are defined may be stored in the storage device. In addition, when the convolution neural network is trained, a weighting factor corresponding to each layer may be specified.

That is, learning of the convolution neural network may denote a process of determining weighting factors of each layer. In addition, when the convolution neural network is trained, the trained convolution neural network may receive an input data for the input layer and output an output data through the previously defined output layer.

The neural network according to an embodiment of the invention may be defined by selecting any one or a plurality of design items widely known as described above, or independent design items may be defined for the neural network.

The control module 310 may input an input data into the neural network stored in the neural network module 320, i.e., a trained neural network. In addition, it may output an output data by performing the operations defined by the neural network.

The preprocessing module 330 may perform preprocessing on a biometric image needed before performing diagnosis using a neural network. For example, the preprocessing on the biometric image may include a process of tiling the biometric image (i.e., slide) into tiles (patches) of a predefined size, and those skilled in the art may easily infer that appropriate image processing may be performed as needed in a way suitable for the neural network.

Meanwhile, the neural network according to one or more embodiments of the invention has a technical characteristic of including a micro neural network and a macro neural network as described above. This example will be described in detail with reference to FIGS. 5A and 5B.

Each of FIGS. 5A and 5B is a view showing the configuration of a neural network according to an embodiment of the present invention.

Referring to FIGS. 5A and 5B, a neural network 200 according to one or more embodiments of the invention includes a micro neural network and a macro neural network.

The micro neural network includes a plurality of layers 210 and an output layer 230. The plurality of layers 210 include an input layer 211 and a plurality of hidden layers 212.

The macro neural network includes a plurality of layers 220 and an output layer 230. The plurality of layers 220 includes an input layer 221 and a plurality of hidden layers 222.

The micro neural network is defined to receive a specific tile 30 and output a diagnosis result of the specific tile, i.e., output data defined in the output layer 230.

In addition, the macro neural network is defined to receive a macro tile 40 including the specific tile 30 and at least one adjacent tile of the specific tile 30, and output a diagnosis result of the specific tile.

That is, the neural network 200 according to one or more embodiments of the invention may output a diagnosis result considering even the image features of adjacent tiles of the specific tile 30, in addition to image features of the specific tile 30, in order to output the diagnosis result of the specific tile 30.

Although the macro tile 40 in FIGS. 5A and 5B show an example of using 3X3 tiles surrounding a tile, it goes without saying that various embodiments of macro tiles are possible.

The output layer 230 may receive output data of each of a first immediate-before layer 212-1, which is a layer immediately before the output layer 230 included in the micro neural network, and a second immediate-before layer 222-1, which is a layer immediately before the output layer 230 included in the macro neural network, and output an output data defined in the output layer 230. The first immediate-before layer 212-1, the second immediate-before layer 222-1, and the output layer 230 may be fully connected.

As a feedforward function defining the output layer 230, any one among various functions that output an output data through the output layer 230 as a result of an input data input for the input layer and passing through the neural network 200 may be used.

As a result, in order to perform diagnosis on the specific tile 30, the neural network 200 is trained to output an output data of the output layer 230 corresponding to annotation values of a plurality of training data, considering both the image features of the specific tile 30 and the image features of the macro tile 40 including the specific tile 30.

That is, a plurality of training data is used to train the neural network 200, and the plurality of training data may include a pair of a specific tile 30 and a macro tile 40. In addition, the macro tile 40 may also perform learning by using annotation information of the specific tile 30.

Then, the neural network 200 will be trained to output an output data corresponding to the annotation information of the specific tile 30 considering both the image features of the specific tile 30 and the macro tile 40.

Then, when the trained neural network 200 receives a target tile to be diagnosed and a macro tile corresponding to the target tile as input data of the micro neural network and the macro neural network, it may output a diagnosis result of the target tile, i.e., output data of the output layer 230.

As shown in FIG. 5A, the output layer 230 may output a diagnosis result of the specific patch 30 to be diagnosed as an output data. The diagnosis result may include at least information on the state of a disease of the specific patch 30. The information on the state of a disease may simply signify information on whether a specific disease is expressed in a specific patch 30 (or a probability value). However, depending on the type of a disease, the information on the state of a disease may include information indicating a degree of progression of the disease more specifically.

As disclosed in the previous application, the output layer may be designed to output various additional information, in addition to simply outputting whether or not a disease is expressed. For example, it may include information indicating a degree of progression of a disease and/or related factor information indicating a degree of expression of a related factor related to the value of the state channel. Since this is disclosed in detail in the previous application, detailed description thereof will be omitted for sake of brevity.

When the neural network 200 shown in FIG. 5A is used, although not shown in FIG. 5A, it goes without saying that there may be a layer that receives the output data of the output layer 230 and outputs a feature value corresponding to the probability of expressing a disease of a finally input patch.

Alternatively, as shown in FIG. 5B, the neural network may be designed to have a layer 240 for outputting a feature value corresponding to the probability of expressing a disease of the input patch in substitution for the layer that outputs a plurality of state channels and a related factor channel as shown in FIG. 5A.

According to another embodiment of the invention, the neural network for patch-level diagnosis may be designed to have a single path rather than a method having two paths (paths of a micro network and a macro network) as shown in FIGS. 4A and 4B. This example may be as shown in FIG. 6.

FIG. 6 is a view showing an exemplary configuration of a neural network according to another embodiment of the invention.

Referring to FIG. 6, as described above, a neural network may be defined to receive an input by the patch and determine whether a disease is expressed in the input patch. At this point, as shown in figure, the neural network may receive 4 channel (e.g., RGB and Gray channels) data.

As shown in FIG. 6, input data may be defined to pass through a convolution layer and a plurality of layers per maxpooling and to output an output data, i.e., whether the input patch is a disease patch. Such a neural network may be a neural network using a known densenet model. In addition, at this point, it can be seen that compared with the original densenet model, 1 x 1 convolution is added to the neural network according to one or more embodiments of the invention, and there is an effect of confirming an internal feature map. In addition, although a sigmoid function is used as an activation function, various activation functions may be used.

Those skilled in the art may easily infer that a neural network that performs patch-level diagnosis in various other ways may be defined.

On the other hand, according to one or more embodiments of the invention, only tissue parts may be identified and visualized within a patch determined as expressing a disease, and this will be described below in more detail.

Referring to FIG. 2B again, the heatmap generation module 340 may generate a patch-level heatmap image corresponding to the slide on the basis of the patch diagnosis result of each of the plurality of patches included in the slide.

The heatmap generation module 340 may mark a disease patch according to the diagnosis result of each patch. In the patch-level diagnosis, since each patch is classified according to whether or not there is a disease, the entire disease patch may be marked as a disease. The heatmap generation module 340 may generate a heatmap for the slide as shown in FIG. 7A. For example, the heatmap generation module 340 may generate a heatmap as shown in FIG. 7B. As shown in FIG. 7B, when a patch-level diagnosis result is visualized in the form of a heatmap, a disease part is displayed in a grid form.

Meanwhile, the tissue mask generation module 350 may generate a tissue mask image for the slide. For example, the tissue mask generation module 350 may generate a tissue mask image as shown in FIG. 7C.

The method of generating a tissue mask image by the tissue mask generation module 350 has the following characteristics.

A more specific description follows. The tissue mask generation module 350 may generate a tissue mask image corresponding to the slide on the basis of a Hue-Saturation-Value (HSV) model corresponding to the slide.

In an embodiment, the tissue mask generation module 350 may generate a first binarization result by performing image binarization for the S space corresponding to the slide.

At this point, the S space corresponding to the slide is a space configured of saturation values of an HSV model corresponding to the slide.

The tissue mask generation module 350 may use Otsu Thresholding as the image binarization method. Otsu Thresholding is a clustering-based image thresholding technique used in the field of computer vision or image processing.

In addition, the tissue mask generation module 350 may generate a second binarization result by performing image binarization for the 1-V space corresponding to the slide. At this point, the V space corresponding to the slide is a space configured of brightness values of an HSV model corresponding to the slide (i.e., having a size of wxh, a matrix configured of the brightness values of the V channel (w is the width of the image, h is the height of the image)), and the 1-V space may be a space subtracting the values of the V channel from a matrix having a size of wxh and filled with 1's.

Meanwhile, the tissue mask generation module 350 may generate a tissue mask image corresponding to the slide on the basis of the first binarization result and the second binarization result.

The first binarization result and the second binarization result may include binary values (e.g., 0 or 1, or 0 or 255) corresponding to each pixel of the slide, and the tissue mask generation module 350 may generate a tissue mask image corresponding to the slide by determining a pixel of the tissue mask image corresponding to the pixel as a tissue pixel (a pixel corresponding to the tissue) for each pixel of the slide when the binary value of the first binarization result corresponding to the pixel or the binary value of the binarization result corresponding to the pixel is 1 (or 255), and determining the pixel of the tissue mask image corresponding to the pixel as a non-tissue pixel (a pixel that does not correspond to a tissue) otherwise (i.e., when the binary value is 0). In summary, the tissue mask generation module 350 may generate a tissue mask image through an OR operation between the image binarization result for the S space and the image binarization result for the 1-V space.

Meanwhile, the diagnosis result visualization module 360 may generate a disease diagnosis visualization image corresponding to the slide on the basis of the patch-level heatmap image and the tissue mask image. For example, the diagnosis result visualization module 360 may generate a disease diagnosis visualization image as shown in FIG. 7D.

In an embodiment, the diagnosis result visualization module 360 may generate a disease diagnosis visualization image corresponding to the slide by applying a conditional random field to the patch-level heatmap image and the tissue mask image. Particularly, the conditional random field may be characterized in that the number of labels is 2, and pixels equal to or smaller than a specific threshold among the pixels included in the patch-level heatmap image are converted to 0.

A more detailed description follows.

The diagnosis result visualization module 360 may receive an original tissue image (i.e., a slide or a patch), a tissue mask image generated by the tissue mask generation module 350, and a patch-level heatmap image generated by the heatmap generation module 340. Describing the size of each input value, since the original tissue image is RGB 3 channels, its size is w×h×3, and the size of the tissue mask image is w×h, and the size of the patch-level heatmap image is also wxh. Meanwhile, the diagnosis result visualization module 360 may convert the wxh patch-level heatmap image into w×h×2. At this point w×h× [0] contains the, original patch-level heatmap image, and w×h×[1] contains each pixel value of a 1 patch-level heatmap image. Then, softmax is taken for dimension=3 to construct a probability space in which each pixel expresses a disease (e.g., prostate cancer), and as the shape of an actual tissue image is affected and transformed by the CRF algorithm according to this probability, the disease image may be visualized to match the shape of the actual tissue.

Particularly, in one or more embodiments of the invention as described herein, the tissue mask generation module 350 may very accurately visualize a part diagnosed as a disease in the slide by simultaneously applying the method of generating a tissue mask image through an OR operation between the image binarization result for the S space and the image binarization result for the 1-V space, and the method of applying the conditional random field.

Comparing FIG. 7D, which is an example of a final visualization result, with FIG. 7B, which is a grid-shaped heatmap, it can be seen that the shape of FIG. 7D is much more clear and easy to discern, and thus make a proper diagnosis of a patient's condition.

Meanwhile, the diagnosis result visualization method according to one or more embodiments of the invention may also be applied to a diagnosis result of a general classification method in which the diagnosis result is derived by the patch. Although even the parts not a tissue are displayed as a disease in the case of patch-unit classification (see FIG. 7A), there is an effect of clearly distinguishing only a tissue part diagnosed as a disease from other parts by applying the diagnosis result visualization method according to one or more embodiments of the invention.

Meanwhile, the disease diagnosis visualization image generated by the diagnosis result visualization module 360 may be provided to the marking information generation module 110 described above, and an XML document including a diagnosis result may be generated by performing a process by the contour extraction module 120 and the XML generation module 130.

Meanwhile, although an example of applying the spirit of the present invention to prostate cancer has been mainly described in this specification, those skilled in the art may easily infer that accurate diagnosis and visualization of a diagnosis result are possible when the spirit of the present invention is applied to other diseases that need diagnosis to be performed on a specific tissue considering the state of surrounding tissues of the tissue, as well as the specific tissue.

Meanwhile, according to implementation examples, the diagnosis result generation system 100 may include a processor and a memory for storing programs performed by the processor. The processor may include single-core CPUs or multi-core CPUs. The memory may include high-speed random-access memory and may include one or more non-volatile memory devices such as magnetic disk storage devices, flash memory devices, and other non-volatile solid state memory devices. Access to the memory by the processor and other components may be controlled by a memory controller.

Meanwhile, the diagnosis method through a neural network according to an embodiment of the present invention may be implemented in the form of a computer-readable program command and stored in a computer-readable recording medium, and control programs and target programs according to an embodiment of the present invention may also be stored in the computer-readable recording medium. The computer-readable recording medium includes all types of recording devices for storing data that can be read by a computer system.

One or more embodiments of the invention as described herein may be used in a system and method for generating a diagnosis result.

The program commands recorded in the recording medium may be specially designed and configured for the present invention, or may be known to and used by those skilled in the software field.

Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and hardware devices specially configured to store and execute program commands, such as ROM, RAM, flash memory and the like. In addition, the computer-readable recording medium may be distributed in computer systems connected through a network to store and execute computer-readable codes in a distributed manner.

Examples of program instructions include high-level language codes that can be executed by a device that electronically processes information using an interpreter or the like, e.g., a computer, as well as machine language codes such as those produced by a compiler.

The hardware device described above may be configured to execute as one or more software modules to perform the operation of the present invention, and vice versa.

The above description of the present invention is for illustrative purposes, and those skilled in the art may understand that it is possible to easily transform into other specific forms without changing the spirit or essential features of the present invention. Therefore, it should be understood that the embodiments described above are illustrative and non-limiting in all respects. For example, each component described as a single form may be implemented in a distributed manner, and in the same manner, components described as being distributed may also be implemented in a combined form.

The scope of the present invention is indicated by the claims described below rather than the detailed description, and the meaning and scope of the claims and all changes or modified forms derived from the equivalent concepts thereof should be interpreted as being included in the scope of the present invention. 

1. A diagnosis result generation system comprising: a marking information generation module configured to generate marking information expressing a result of diagnosing whether a disease exists in biometric tissue provided on a slide of which a biometric image is obtained therefrom, wherein the marking information includes disease state information of each pixel of the biometric tissue provided on the slide; a contour extraction module configured to extract at least one contour from the marking information; and a machine-readable/human-readable generation module configured to generate a machine-readable/human-readable document including outer line information of each of the at least one extracted contour.
 2. The system according to claim 1, wherein the disease state information includes normal, Gleason pattern 3, Gleason pattern 4, and Gleason pattern
 5. 3. The system according to claim 2, wherein the machine-readable/human-readable document further includes disease state information of each of the extracted at least one contour.
 4. The system according to claim 1, wherein the disease is prostate cancer.
 5. The system according to claim 1, further comprising a diagnosis system configured to output a result of diagnosing whether a disease exists using the slide and the neural network, wherein the marking information generation module generates the marking information on the basis of the diagnosis result output from the diagnosis system.
 6. The system according to claim 5, wherein the diagnosis system includes: a patch neural network for generating configured to generate a patch-level diagnosis result indicating whether a disease exists in each of predetermined patches generated by dividing the biometric image obtained from the slide in a predetermined size; a heatmap generation module configured to generate a patch-level heatmap image corresponding to the slide on the basis of the patch-level diagnosis result of each of a plurality of patches included in the biometric image obtained from the slide; a tissue mask generation module configured to generate a tissue mask image corresponding to the biometric image obtained from the slide on the basis of a Hue-Saturation-Value (HSV) model corresponding to the biometric image obtained from the slide; and a diagnosis result visualization module configured to generate a diagnosis result of the slide on the basis of the patch-level heatmap image and the tissue mask image.
 7. The system according to claim 6, wherein the tissue mask generation module generates a first binarization result by performing image binarization for an S space corresponding to the biometric image obtained from the slide generates a second binarization result by performing image binarization for a 1-V space corresponding to the biometric image obtained from the slide, and generates a tissue mask image corresponding to the biometric image obtained from the slide on the basis of the first binarization result and the second binarization result.
 8. The system according to claim 6, wherein the diagnosis result visualization module is configured to generate a disease diagnosis visualization image corresponding to the biometric image obtained from the slide by applying a conditional random field to the patch-level heatmap image and the tissue mask image.
 9. A diagnosis result generation method comprising: a marking information generation step of generating marking information expressing a result of diagnosing whether a disease exists in biological tissue provided on a slide of which a biometric image is obtained therefrom, wherein the marking information includes disease state information of each pixel of the biometric image obtained from the slide; a contour extraction step of extracting at least one contour from the marking information; and a machine-readable/human-readable generation step of generating a machine-readable/human-readable document including outer line information of each of the at least one extracted contour.
 10. The method according to claim 9, wherein the disease state information includes normal, Gleason pattern 3, Gleason pattern 4, and Gleason pattern
 5. 11. The method according to claim 10, wherein the XML document further includes disease state information of each of the extracted at least one contour.
 12. The method according to claim 9, further comprising a diagnosis step of outputting a result of diagnosing whether a disease exists using the biometric image obtained from the slide and the neural network, wherein the marking information generation step includes the step of generating the marking information on the basis of a diagnosis result output from the diagnosis system.
 13. The method according to claim 12, wherein the diagnosis step includes: a patch-level diagnosis step of generating a patch-level diagnosis result indicating whether a disease exists in each of predetermined patches generated by dividing the biometric image obtained from the slide in a predetermined size using a neural network; a heatmap generation step of generating a patch-level heatmap image corresponding to the slide on the basis of a patch-level diagnosis result of each of a plurality of patches included in the biometric image obtained from the slide; a tissue mask generation step of generating a tissue mask image corresponding to the biometric image obtained from the slide on the basis of a Hue-Saturation-Value (HSV) model corresponding to the biometric image obtained from the slide; and a diagnosis result visualization step of generating a diagnosis result of the biometric image obtained from the slide on the basis of the patch-level heatmap image and the tissue mask image.
 14. The method according to claim 13, wherein the tissue mask generation step includes the steps of: generating a first binarization result by performing image binarization for an S space corresponding to the biometric image obtained from the slide; generating a second binarization result by performing image binarization for a 1-V space corresponding to the biometric image obtained from the slide; and generating a tissue mask image corresponding to the biometric image obtained from the slide on the basis of the first binarization result and the second binarization result.
 15. The method according to claim 13, wherein the diagnosis result visualization step generates a disease diagnosis visualization image corresponding to the biometric image obtained from the slide by applying a conditional random field to the patch-level heatmap image and the tissue mask image.
 16. A computer program installed in a data processing apparatus and recorded in a medium for performing the method according to claim
 9. 17. The system according to claim 1, wherein the machine-readable document is an Extensible Markup Language (XML) document.
 18. The method according to claim 9, wherein the machine-readable/human-readable document is an Extensible Markup Language (XML) document.
 19. The method according to claim 14, wherein, in the step of generating a first binarization result by performing image binarization for an S space corresponding to the biometric image obtained from the slide, the S space corresponding to the biometric image obtained from the slide is a space of saturation values of an HSV model corresponding to the biometric image obtained from the slide.
 20. The method according to claim 19, wherein, in the step of generating a second binarization result by performing image binarization for a 1-V space corresponding to the biometric image obtained from the slide, the V space corresponding to the biometric image obtained from the slide is a space of brightness values of an HSV model corresponding to the biometric image obtained from the slide. 